{assign var="cc" value=0} {$header}
{if $filter !== 'artist'}
{$c} {$found}
{/if}
{if $filter !== 'artist'}{$pagination} {/if} {else if $filter === 'album'} {assign var=al_c value=0} {foreach $q as $ralb}
{str_highlight($ralb.artist,$key,null,'\1')}
{$ralb.album}
{$ralb.artist}
{foreachelse} {$this->searchEmpty($this->lang['no_albums_match_search'])} {/foreach} {else if $filter === 'artist'} {if !$q_top_artist && !$q} {$this->searchEmpty($this->lang['no_artist_match_search'])} {else}
{if $q_top_artist}
{$q_top_artist.artist}
Hits
Similar tracks
Albums
{assign var=c_limit_song value=0} {foreach $this->getSongsArt({$q_top_artist.artist}) as $songs}
{$songs.title} {$this->lang['from']} {$songs.album}
{$songs.time}
{if $c_limit_song === 6}+ {$this->lang['more_tracks']}{/if} {$c_limit_song = $c_limit_song+1} {/foreach}
{/if} {if count($q)}
{count($q)} more {if count($q) === 1}{$this->lang['artist']}{else}{$this->lang['artists']}{/if}
{/if}
{assign var=ar_c value=0} {foreach $q as $rsp_m_art}
{str_highlight($rsp_m_art.artist,$key,null,'\1')}
{/foreach}
{/if}
{/if} {if $filter !== 'artist'} {$pagination} {/if}